@charset "UTF-8";
.tool-box {
  display: flex;
  flex-direction: column;
  margin-left: 9%;
}

.tool-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 615px;
  margin-top: 20px;
  cursor: pointer;
}

.tool-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 190px;
  height: 130px;
  border: 1px solid #ccc;
}

.tool-item .tool-icon {
  font-size: 24px;
  margin-bottom: 10px;
  animation: tool-item1 0.3s ease-out;
}

.tool-item .tool-content {
  animation: tool-item1 0.3s ease-out;
}

.tool-item .tool-content .tool-title {
  margin-top: 5px;
  margin-bottom: 10px;
}

.tool-item .tool-content .tool-desc {
  font-size: 12px;
  color: #777;
}

.tool-container1 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 820px;
  margin-left: 600px;
  margin-top: -130px;
  cursor: pointer;
}

.tool-item1 {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 190px;
  height: 57px;
  border: 1px solid #ccc;
}

.tool-item1 .tool-icon-and-title {
  display: flex;
  align-items: center;
}

.tool-item1 .tool-icon1 {
  font-size: 24px;
  margin-right: 10px;
}

.tool-item1 .tool-title1 {
  font-size: 16px;
}

@keyframes tool-item1 {
  from {
    opacity: 0;
    transform: translateX(-20px);
    /* 从右侧 20px 开始，向左移动 */
  }
  to {
    opacity: 1;
    transform: translateX(0);
    /* 移动到原始位置 */
  }
}

.image-overlay {
  font-size: 12px;
  animation: image-overlay 0.3s ease-out;
}

@keyframes image-overlay {
  from {
    opacity: 0;
    transform: translateX(-20px);
    /* 从右侧 20px 开始，向左移动 */
  }
  to {
    opacity: 1;
    transform: translateX(0);
    /* 移动到原始位置 */
  }
}

.new-design-image {
  width: 70%;
  height: auto;
  object-fit: cover;
  margin-left: 35.9%;
  margin-top: 13%;
  animation: new-design-image 0.3s ease-out;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

@keyframes new-design-image {
  from {
    opacity: 0;
    transform: translateX(20px);
    /* 从右侧 20px 开始，向左移动 */
  }
  to {
    opacity: 1;
    transform: translateX(0);
    /* 移动到原始位置 */
  }
}

.animate-title {
  animation: title-slide-out 0.3s ease-out forwards;
}

/* 新增 icon 向左移动消失动画 */
@keyframes icon-slide-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

.animate-icon {
  animation: icon-slide-out 0.3s ease-out forwards;
}

/* 新增 icon 向右移动恢复动画 */
@keyframes icon-slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-icon-reverse {
  animation: icon-slide-in 0.3s ease-out forwards;
}

/* 新增文字向左移动动画，且不消失 */
@keyframes title-slide-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-20px);
  }
}

.animate-title {
  animation: title-slide-out 0.3s ease-out forwards;
}

/* 新增文字向右移动消失动画 */
@keyframes title-slide-in {
  from {
    transform: translateX(-20px);
  }
  to {
    transform: translateX(0);
  }
}

.animate-title-reverse {
  animation: title-slide-in 0.3s ease-out forwards;
}
